@echo off
call MaxsiCompileEnvironment.bat
rem Do remove or change the above lines
rem ============================================================

rem Don't forget to edit MaxsiCompileEnvironment.bat before editing and running this one!

rem Only set mc_runpreprocessor=1 if you use the Maxsi MapSync tool, otherwise just leave it at 0

set mc_runpreprocessor=0

rem Decide whatever you want ro run vbsp, vvis, and vrad on the maps.

set mc_runvbsp=1
set mc_runvvis=1
set mc_runvrad=1

rem Should the map files be copied to the SourceMods\<Mod Name>\Maps folder?

set mc_copytomapfolder=1

rem If any maps fail to compile should the entire batch script halt?

set mc_StopBatchCompileIfAnyMapFails=1

rem Here you can set the settings for the compile tools for the following maps

set mc_vbsp_param=
set mc_vvis_param=
set mc_vrad_param=-both

%compilemap% Chapter1_Map1
%compilemap% Chapter1_Map2
%compilemap% Chapter1_Map3
%compilemap% Chapter1_Map4
%compilemap% Chapter2_Map1
%compilemap% Chapter2_Map2
%compilemap% Chapter3_Map1


rem You can redefine these settings if you want to compile one or more maps with other settings.

set mc_StopBatchCompileIfAnyMapFails=0
set mc_runvvis=0
set mc_vrad_param=-hdr -low

%compilemap% Chapter4_Map1
%compilemap% Chapter4_Map2

pause